package com.itheima.service;

import com.itheima.pojo.Order;

import java.rmi.MarshalledObject;
import java.util.Map;

/**
 * @description:
 * @author: wangjingliang
 * @create: 2019-11-19 18:45
 **/
public interface OrderService {
    /**
     * 在线预约
     * @param:
     * @return: null
     * @date: 2019/11/19
     */
    public Map order(Map map) throws Exception;

    /**
     * 根据id查询预约信息
     * @param:int id
     * @return: Order
     * @date: 2019/11/20
     */
    public Map findById(Integer id);
}
